package com.harmontronics.hanma.paas.paas.common;

import lombok.Data;

@Data
public class MosResponse<T> {

    private static final String SUCCESS_CODE = "sso.ok";
    private String code;
    private String message;
    private T data;

    public boolean isOk() {
        return SUCCESS_CODE.equals(code);
    }

}
